package com.lancoo.examview

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import com.lancoo.answer.util.GetJsonDataUtil
import com.lancoo.answer.view.fragment.option.OptionFragment
import com.lancoo.answer.view.fragment.paragraphSort.ParagraphSortingFragment
import com.lancoo.answer.view.fragment.readMatch.ReadMatchFragment
import com.lancoo.answer.view.fragment.option.SingleOptionFragment
import com.lancoo.examview.databinding.ActivityMainBinding

class MainActivity : AppCompatActivity() {

    private val mBinding: ActivityMainBinding by lazy {
        DataBindingUtil.setContentView<ActivityMainBinding>(this, R.layout.activity_main)
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val optionFragment = OptionFragment()
        val readMatchFragment = ReadMatchFragment()
        val paragraphSortingFragment = ParagraphSortingFragment()
        val singleOptionFragment = SingleOptionFragment()
        val examViewBean = GetJsonDataUtil.getJson(this)
        val cognitiveBean = GetJsonDataUtil.getCognitiveBeanJson(this)

    }


    private fun initView() {
    }

}